package com.cian.service;

import com.cian.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Cian
 * @since 2021-02-26
 */
public interface IAccountService extends IService<Account> {
    public Account selectByNameAndPassword(@Param("username") String username, @Param("password") String password);
    public Account selectByName(@Param("username") String username);
    public Integer selectByNameAndLicense(@Param("username") String username, @Param("license") String license);
}
